﻿CREATE TABLE [dbo].[LeaveInfoSet] (
    [Id]          UNIQUEIDENTIFIER NOT NULL,
    [UserId]      UNIQUEIDENTIFIER NOT NULL,
    [StartTime]   DATETIME         NOT NULL,
    [EndTime]     DATETIME         NOT NULL,
    [Description] NVARCHAR (MAX)   NULL,
    [IsAudited]   BIT              NOT NULL,
    [AuditUserId] UNIQUEIDENTIFIER NULL,
    [AuditNote]   NVARCHAR (MAX)   NULL,
    [AuditTime]   DATETIME         NULL,
    [IsAgreed]    BIT              NOT NULL,
    [CreateOn]    DATETIME         NOT NULL,
    [LeaveTypeId] UNIQUEIDENTIFIER NOT NULL
);

